Carbon


KCGetKeychainName

Header: Keychain.h Carbon status: Under Evaluation

Determines the name of a keychain.

OSStatus KCGetKeychainName (
    KCRef keychain, 
    StringPtr keychainName
);
Parameter descriptions
keychain

A reference to the keychain whose name you wish to obtain.

keychainName

A pointer to a Pascal string. On return, this string contains the name of the keychain.

function result

A result code. The result code errKCInvalidKeychain indicates that the keychain is invalid.

DISCUSSION

You can also call the function kcgetkeychainname to obtain the name of a keychain. kcgetkeychainname requires that you pass a pointer to a C string instead of a pointer to a Pascal string in the keychainName parameter.

VERSION NOTES

Available beginning with Keychain Manager 2.0.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)